package array;

public class Demo06 {
  public static void main(String[] args){
	 // int[] i = new int[8];
	  
	  /*
	  for(int j=0;j<i.length;j++){
		  System.out.println(i[j]);
	  }
	  */
	 
	 //int[] i = {3,4,5};
     
	  int[] i = new int[]{4,5,6};
	 
	  print(i); 
  }
  
  public static void print(int[] a){
     for(int i=0;i<a.length;i++){
    	 System.out.println(a[i]);
     }
  }
}
